package com.practice.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author:高杰领
 * @date:2021/11/18 9:59
 * @description:返回类
 * @version:1.0
 **/
@Data
@Component
public class MyReturn {
    private int code;
    private String msg;
    private Object data;
    private int count;

    public MyReturn() {
    }

    public MyReturn(int code, String msg, Object data, int count) {
        this.code = code;
        this.msg = msg;
        this.data = data;
        this.count = count;
    }
}
